package com.fare.taluo.message;

import org.apache.commons.lang.StringUtils;


public final class MessageAssert {
	/**
	 * 邮件主题
	 * @param subject
	 */
	public static void hasText(String value, String name){
		if(StringUtils.isBlank(value)){
			throw new IllegalAccessError(name+"不可为空！");
		}
	}

}
